home *** CD-ROM | disk | FTP | other *** search
- RNDBLank.rexx by Fergus Duniho
-
- DISCLAIMER
-
- You use this script entirely at your own risk. I am not
- responsible for anything that happens from running this script.
-
- LEGAL
-
- RNDBlank.rexx is public domain. It's too short and simple to
- bother copyrighting.
-
- INTRODUCTION
-
- RNDBlank.rexx randomly selects a screen blanker from a drawer of
- screen blankers and runs it as though it were started from the workbench.
- It will actually run any sort of program, not just screen blankers. But I
- wrote it with screen blankers in mind. I have been using a program called
- BlankIt for this same purpose. But BlankIt relies on WBStart-Handler,
- which doesn't work well with GarshneBlanker. This script does the same
- thing as BlankIt, but it uses WBRun, which relies on parm.library, and
- which has no problems with GarshneBlanker.
-
- USAGE
-
- rx RNDBlank <pattern>
-
- The pattern will normally be a directory. I use "Work:Blankers/".
- Be sure to put a "/" at the end of a directory name. A pattern such as
- "Work:Blankers/B" will select from the blankers beginning with "B". A
- pattern such as "Work:Blankers/*" would select from everything, including
- .info files. So don't use a pattern such as this. This is because
- RNDBlank.rexx appends "~(.info)" to the end of the pattern.
-
- RNDBlank.rexx uses ARP pattern matching. I think this is the same
- as AmigaDOS pattern matching, except that "*" means the same as "#?".
-
- REQUIREMENTS
-
- WBRun, parm.library, and RexxARPLib.library. These are all
- available on the Aminet.
-
- ABOUT THE AUTHOR
-
- If you like RNDBlank.rexx, or even if you don't, try out XES and
- the DDLI. XES is a bunch of ARexx scripts and other stuff for making XDME
- one of the most powerful text editors available. The DDLI is a personality
- indicator. Both are available on the Aminet.
-
-